<?php
/**
 * 组件助手类
 *
 * @version $Id: IMintComponentHelper.php 312 2008-04-23 16:29:38Z iwind $
 * @package util.mint.component
 */
class IMintComponentHelper {	
	/**
	 * 加入HTML时间属性
	 * 
	 * 如onclick,onsubmit...
	 *
	 * @param array &$array
	 * @since 0.0.3
	 */
	public static function addHtmlEventAttrs(array &$array) {
		$array["x-onclick"] = "onclick";
		$array["x-onfocus"] = "onfocus";
		$array["x-onsubmit"] = "onsubmit";
		$array["x-ondblclick"] = "ondblclick";
	}
}

?>